from ..jobs.units import ExecutorType
from ..executors.cmd_executor import CMDExecutor
from ..executors.shell_executor import ShellExecutor

type2executor = {
    ExecutorType.cmd: CMDExecutor,
    ExecutorType.bash: ShellExecutor,
    ExecutorType.builtin_py_func: None,
    ExecutorType.reboot: None
}